@echo off
:: ----------------------------------------------------------------------------
:: Initial values; these can be overwritten in user.bat
:: ----------------------------------------------------------------------------
set starcraftPath=..
set buildType=Release


:: ----------------------------------------------------------------------------
:: user.bat Data
:: ----------------------------------------------------------------------------
:: If there is a user.bat data file in this folder, execute it to set some parameters
if exist "user.bat" (
	call "user.bat"
)

:: -----------------------------------------------------------------------------
:: Check if this is Release or Debug
:: -----------------------------------------------------------------------------
if not "%1" == "" if exist ".\%buildType%\" (
	set buildType=%1
)

:: -----------------------------------------------------------------------------
:: Copy all dlls
:: -----------------------------------------------------------------------------
copy %buildType%\*.dll "%starcraftPath%\bwapi-data\AI\"

